package com.base.controller.utils.FM;

import java.math.BigDecimal;

public class FMUtil {
    public static BigDecimal getLevelReato(int level){
        BigDecimal reatio=new BigDecimal("1.0");
        switch (level){
            case 1:
                reatio=new BigDecimal("0.5");
                break;
            case 2:
                reatio=new BigDecimal("0.3");
                break;
            case 3:
                reatio=new BigDecimal("0.2");
                break;
            case 4:
                reatio=new BigDecimal("0.1");
                break;
        }
        return reatio;
    }
}
